package com.speedchina.permission.web.api;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import prlv.ln.api.version.spring.boot.annotation.ApiVersion;
/**
 * @author Administrator
 */
@Api(tags = "Test模块V1", description = "测试API对Swagger的影响")
@ApiVersion("1")
@RestController
@RequestMapping("/test")
public class TestVersionController {

    @ApiOperation("你好")
    @GetMapping("hello")
    public String hello(){
        return "v1";
    }

}
